package com.nit.lab.service;

import com.nit.lab.dto.DtoLoginUser;
import com.nit.lab.dto.utils.DtoAjaxMsg;

/**
 * Created by CYT on 2017/11/19.
 */
public interface LoginService {
    boolean findUserName(String userName) throws Exception;

    boolean findUserPhone(String userPhone) throws Exception;

    boolean findUserEmail(String userEmail) throws Exception;

    DtoAjaxMsg selectUser(String userName, String userCode) throws Exception;

    boolean changCode(String userEmail, String userPhone) throws Exception;

    Integer insertUserInfo(DtoLoginUser dtoLoginUser) throws Exception;
}
